package com.liang.entity;

import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with Intellij IDEA
 *
 * @Auther: liangjy
 * @Date: 2022/01/07/8:59
 * @Description: 订单实体类
 */
@ToString(exclude="id")
public class Order implements Serializable {
    private static final long serialVersionUID = -7884870317439050915L;

    private Long id;
    /**
     * 商品名
     */
    private String goodName;
    /**
     * 消费者
     */
    private String consumer;
    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getConsumer() {
        return consumer;
    }

    public void setConsumer(String consumer) {
        this.consumer = consumer;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
